#ifndef EARTH_GRATICULE_PRIVATE_H
#define EARTH_GRATICULE_PRIVATE_H
#include <qobject>
#include <osgEarthUtil/GeodeticGraticule>
#include "EarthGraticule.h"
#include "script/ScriptHelper.h"

class EarthGraticulePrivate : public QObject,public EarthGraticule,public ScriptHelper
{
    Q_OBJECT
public:
	EarthGraticulePrivate(QObject* parent = nullptr);
	~EarthGraticulePrivate();
public:
	QString getModule()const { return "EarthGraticule"; }

	void setVisible(bool visible);
    bool isVisible()const;

    void setEarthGraticuleColor(const QString& Color);
    QString getEarthGraticuleColor()const;

    void setEarthGraticuleLabelColor(const QString& color);
    QColor getEarthGraticuleLabelColor()const;

    void setEarthGraticuleWidth(double width);
    double getEarthGraticuleWidth()const;

	bool setVisible(const QStringList& argument,QString* error = nullptr);
	bool setEarthGraticuleColor(const QStringList& argument,QString* error = nullptr);

	bool setEarthGraticuleLabelColor(const QStringList& argument,QString* error = nullptr);
	bool setEarthGraticuleWidth(const QStringList& argument,QString* error = nullptr);
private:
	osgEarth::Util::GeodeticGraticule* graticule = nullptr;
};

#endif
